package cn.tedu.zhyl.system.pojo.vo;

import cn.tedu.zhyl.base.pojo.entity.BaseTree;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class SysMenuVO implements Serializable {
    @ApiModelProperty(value = "唯一标识符")
    private Integer id;

    @ApiModelProperty(value = "父ID")
    private Integer pid;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "组件编码")
    private String componentCode;

    @ApiModelProperty(value = "排序值")
    private Integer sort;

    @ApiModelProperty(value = "创建者")
    private Map<String,Object> createBy;

    @ApiModelProperty(value = "更新者")
    private Map<String,Object>  updateBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "子菜单")
    private List<SysMenuVO> children;
}
